import request from '@/utils/request'

export function getTosList (data) {
  return request({
    url: '/api/tos/index',
    method: 'post',
    data
  })
}

export function deleteTos (data) {
  return request({
    url: '/api/tos/destroy',
    method: 'post',
    data
  })
}

export function ceaterTos (data) {
  return request({
    url: '/api/tos/store',
    method: 'post',
    data
  })
}

export function updateTos (data) {
  return request({
    url: '/api/tos/update',
    method: 'post',
    data
  })
}

export function showTos (data) {
  return request({
    url: '/api/tos/show',
    method: 'post',
    data
  })
}
